Component({
    properties: {
        orderDetail: {
            type: Object,
            observer: function(t) {
                t.activityAmount && this.setData({
                    discountPrice: t.orderTotalAmount - t.paymentAmount
                });
            }
        }
    },
    data: {
        discountPrice: ""
    },
    methods: {}
});